package edu.hpu.dao;

import edu.hpu.model.UserInfo;
import org.springframework.data.repository.CrudRepository;

/**
 * @Author 三分恶
 * @Date 2020/6/20
 * @Description
 */
public interface UserInfoDao extends CrudRepository<UserInfo,Long> {
    /**通过username查找用户信息;*/
    public UserInfo findByUsername(String username);
}
